package com.homework4.demo1;



public class test {
    public static void main(String[] args) {
        Car car = new Car();
        car.testEngine(new YAMAHA());

        car.testEngine(new HONDA());


    }
}
